package com.testitems.controller.login.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * <pre>
 *
 * </pre>
 *
 * @author GFH
 * @since 2021-11-20
 */
@ApiModel(value = "登录请求")
@Data
public class LoginRequest {
    @ApiModelProperty("邮箱账号")
    @NotNull
    private String username;
    @ApiModelProperty("密码")
    @NotNull
    private String password;
}
